package com.evl.common.persistence.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 调度车站表
 * </p>
 *
 * @author weijunlong
 * @since 2017-06-28
 */
@TableName("schedule_station")
public class ScheduleStation extends Model<ScheduleStation> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 引用的车站id
     */
	@TableField("station_id")
	private Integer stationId;
    /**
     * 调度车_id
     */
	@TableField("sta_id")
	private Integer staId;
    /**
     * 序号
     */
	private Integer seq;
    /**
     * 站点名称
     */
	@TableField("station_name")
	private String stationName;
    /**
     * 到站时间
     */
	@TableField("arr_time")
	private Date arrTime;
    /**
     * 发车时间
     */
	@TableField("start_time")
	private Date startTime;
    /**
     * 停留时间
     */
	@TableField("stop_time")
	private String stopTime;
    /**
     * 耗时
     */
	@TableField("cost_time")
	private String costTime;
	
	private String arrTimeStr;
	private String startTimeStr;

	public String getArrTimeStr() {
		return arrTimeStr;
	}

	public void setArrTimeStr(String arrTimeStr) {
		this.arrTimeStr = arrTimeStr;
	}

	public String getStartTimeStr() {
		return startTimeStr;
	}

	public void setStartTimeStr(String startTimeStr) {
		this.startTimeStr = startTimeStr;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getStationId() {
		return stationId;
	}

	public void setStationId(Integer stationId) {
		this.stationId = stationId;
	}

	public Integer getStaId() {
		return staId;
	}

	public void setStaId(Integer staId) {
		this.staId = staId;
	}

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public Date getArrTime() {
		return arrTime;
	}

	public void setArrTime(Date arrTime) {
		this.arrTime = arrTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getStopTime() {
		return stopTime;
	}

	public void setStopTime(String stopTime) {
		this.stopTime = stopTime;
	}

	public String getCostTime() {
		return costTime;
	}

	public void setCostTime(String costTime) {
		this.costTime = costTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
